package com.t213.pet.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.NumberFormat;

public class Pet {
	private int petId;
	private String petName;
	private int petBreed;
	@NumberFormat
	private int petSex;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birthday;
	private String description;
	
	public int getPetId() {
		return petId;
	}
	public void setPetId(int getid) {
		this.petId = getid;
	}
	public String getPetName() {
		return petName;
	}
	public void setPetName(String petName) {
		this.petName = petName;
	}
	public int getPetBreed() {
		return petBreed;
	}
	public void setPetBreed(int petBreed) {
		this.petBreed = petBreed;
	}
	public int getPetSex() {
		return petSex;
	}
	public void setPetSex(int petSex) {
		this.petSex = petSex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
